package com.iot.ammeter.service.web.setting;

import com.iot.ammeter.entity.web.setting.Setting;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author basil
 * @since 2022-03-10
 */
public interface SettingService extends IService<Setting> {

    /**
     * 设置电价
     *
     * @param price 价格
     * @return true 成功 false 失败
     */
    boolean setElectricityPrices(String price);
}
